

/*
支付类型 1:微信2:支付宝3:网银
 */

export const collectionTypeDict = [
  {code: 'WX', codeName: '微信'},
  {code: 'ZHIFU', codeName: '支付宝'},
];


export function collectionTypeGetName(code){
  for (let i = 0; i < collectionTypeDict.length; i++) {
    if (collectionTypeDict[i].code === code)
      return collectionTypeDict[i].codeName;
  }

  return "未知";
}
